import React,{ useContext } from 'react';
import { ColorContext } from './color'

function ShowArea(){
    const { color } = useContext(ColorContext)
    return (<p style={{color:color}} >字体颜色是 { color }</p>)
}

export default ShowArea